package com.sky.annotation;

import com.sky.enumeration.OperationType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author chm
 * @version 1.0.0 v
 * @date 2024-01-29 9:44
 */
//自定义注解，用来自动填充公共字段
    @Target(ElementType.METHOD)
    @Retention(RetentionPolicy.RUNTIME)
public @interface AutoFill {
        //数据库类型：UPDATE INSERT
        OperationType value();
}
